package com.design.facade.c01;

public class Light
{
	private String position;
	
	public Light(String position)
	{
		this.position=position;	
	}
	
	public void on()
	{
		System.out.println(this.position + "灯打开！");
	}
	
	public void off()
	{
		System.out.println(this.position + "灯关闭！");	
	}
}